package molydb

import (
	"molydb/cache"
	"molydb/storage"
	"molydb/util"
)

type tFile struct {
	fd         storage.FileDesc
	seekLeft   int32
	size       int64
	imin, imax internalKey
}
type tFiles []*tFile

type tOps struct {
	s            *session
	noSync       bool
	evictRemoved bool
	fileCache    *cache.Cache
	blockCache   *cache.Cache
	blockBuffer  *util.BufferPool
}

// Creates new initialized table ops instance.
func newTableOps(s *session) *tOps {
	var (
		fileCacher  cache.Cacher
		blockCache  *cache.Cache
		blockBuffer *util.BufferPool
	)

	if s.o.GetOpenFilesCacheCapacity() > 0 {

	}
}
